package 移除元素;

public class Test {
    public static void main(String[] args) {
        int[] nums = {4,1,2,4,4,0,0};
        int val = 4;
        Solution solution = new Solution();
        int length = solution.removeElement(nums,val);
        for (int i = 0; i < length; i++) {
            System.out.print(nums[i]+" ");
        }
    }
}
